package com.example.compkeylab.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author Cheng Guanghao
 * @since 2023-11-27
 */
@TableName("keyword_ads")
@ApiModel(value = "KeywordAds对象", description = "")
public class KeywordAds implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("广告id")
    private String adsId;

    @ApiModelProperty("该关键词广告对应的商家")
    private Integer userId;

    @ApiModelProperty("关键词广告对应的关键词")
    private String keyword;

    @ApiModelProperty("该关键词的每周搜索量")
    private Integer weeklySearches;

    @ApiModelProperty("竞争程度，不是竞争性。1-5分别对应低、比较低、中、比较高、高")
    private Integer competitionLevel;

    @ApiModelProperty("曝光量，即该关键词广告被展示的次数")
    private Integer exposureCount;

    @ApiModelProperty("点击量，即该关键词广告被点击的次数")
    private Integer clickCount;

    @ApiModelProperty("转化率，点击量除以曝光量")
    private Double conversionRate;

    @ApiModelProperty("费用，即投放这个关键词广告商家的费用")
    private Double cost;

    @ApiModelProperty("关键词广告的文案")
    private String copywriting;


    public String getAdsId() {
        return adsId;
    }

    public void setAdsId(String adsId) {
        this.adsId = adsId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public Integer getWeeklySearches() {
        return weeklySearches;
    }

    public void setWeeklySearches(Integer weeklySearches) {
        this.weeklySearches = weeklySearches;
    }

    public Integer getCompetitionLevel() {
        return competitionLevel;
    }

    public void setCompetitionLevel(Integer competitionLevel) {
        this.competitionLevel = competitionLevel;
    }

    public Integer getExposureCount() {
        return exposureCount;
    }

    public void setExposureCount(Integer exposureCount) {
        this.exposureCount = exposureCount;
    }

    public Integer getClickCount() {
        return clickCount;
    }

    public void setClickCount(Integer clickCount) {
        this.clickCount = clickCount;
    }

    public Double getConversionRate() {
        return conversionRate;
    }

    public void setConversionRate(Double conversionRate) {
        this.conversionRate = conversionRate;
    }

    public Double getCost() {
        return cost;
    }

    public void setCost(Double cost) {
        this.cost = cost;
    }

    public String getCopywriting() {
        return copywriting;
    }

    public void setCopywriting(String copywriting) {
        this.copywriting = copywriting;
    }

    @Override
    public String toString() {
        return "KeywordAds{" +
                "adsId=" + adsId +
                ", userId=" + userId +
                ", keyword=" + keyword +
                ", weeklySearches=" + weeklySearches +
                ", competitionLevel=" + competitionLevel +
                ", exposureCount=" + exposureCount +
                ", clickCount=" + clickCount +
                ", conversionRate=" + conversionRate +
                ", cost=" + cost +
                ", copywriting=" + copywriting +
                "}";
    }
}
